{# The snapshot (ui_resources.overview) below the charts: the containers not well and the servers outside Docker; the split is in the CPU and memory charts' headers (``_split.html``). #} {% from "components/macros/layout.html" import card %} {% from "pages/overseer/_glance_macros.html" import state %} {# The charts draw every running container but cannot say one is stopped or failing (overseer_resources._view: ``unwell``), so it is named here, with what is wrong and the way to its part's page. Nothing shows while every one is well. #} {% set unwell = resources.unwell %}
{% if resources.note or unwell %} {% call card("Needs attention" if unwell else "Containers", id="resources-containers") %} {% if resources.note %}

{{ resources.note }}

{% else %} {% endif %} {% endcall %} {% endif %} {% if resources.outside %} {% call card("Outside Docker") %} {% endcall %} {% endif %}